import App from './App'
import uviewPlus from 'uview-plus'

import { createSSRApp } from 'vue'
import {getToken, removeToken, setToken} from "./utils/auth";
import store from "./store";
import {userCasLogin, userLogin} from "./api/home";
import {depTestData, userTestData} from "./api/test";
import {ticketData} from "./api/testCar";

// console.log('this.isooooo')
// console.log(window.location.search.split('ticket1'))
// 2310634



// console.log(window.location.search.split('userId'))


// forData(2310634)
export function createApp() {
  const app = createSSRApp(App)
  app.use(uviewPlus)
  return {
    app
  }
}
